from django.conf.urls.defaults import *
from django.views.generic import *

urlpatterns = patterns('ocms.eventmanager.views',
    (r'^$', 'index'),
    (r'^archive/$', 'archive'),
    (r'^all/$', 'all'),
    (r'^(?P<event_id>\d+)/$', 'detail'),
    (r'^(?P<event_id>\d+)/vote/$', 'vote'),
    (r'^votes/$', 'votingrecord'),
    (r'^votes/user/(?P<user_id>\d+)$', 'uservotingrecord'),
    (r'^(?P<event_id>\d+)/hold/$', 'hold'),
    (r'^(?P<event_id>\d+)/edit/$', 'edit'),
    (r'^add/$', 'add'),
    (r'^(?P<event_id>\d+)/delete/$', 'delete'),
)